package cn.edu.lsnu.mbti.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 页面表
 * @TableName page
 */
@TableName(value ="page")
@Data
public class Page implements Serializable {
    /**
     * id
     */
    @TableId(value = "id")
    private String id;

    /**
     * 路由id
     */
    @TableField(value = "route_id")
    private String routeId;

    /**
     * 页面的总访问次数
     */
    @TableField(value = "access_total")
    private Long accessTotal;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
